.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100vh;
}

.top-toolbar {
  display: flex;
  flex-direction: row;
  width: 100%;
  padding: 10rpx;
  background-color: #f3f3f3;
  border-bottom: 2px solid #ccc;
  justify-content: space-around;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.top-toolbar-button {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4rpx;
  background: linear-gradient(145deg, #ffffff, #e6e6e6);
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2), -4px -4px 10px rgba(255, 255, 255, 0.7);
  border: 1px solid #ddd;
  font-size: 15px;
  font-weight: bold;
  color: #333;
  transition: all 0.2s;
  width: 18%; /* 设置按钮宽度，确保横向排列 */
  height: 4vh;
}

.top-toolbar-button text {
  color: inherit;
}

.top-toolbar-button:active {
  box-shadow: inset 4px 4px 10px rgba(0, 0, 0, 0.15);
  background: linear-gradient(145deg, #e6e6e6, #ffffff);
}


.design-area {
  position: relative;
  width: 100%;
  height: 75vh;
  background-color: #f3f3f3;
  border: 1px solid #ccc;
  margin-top: 10rpx;
}
.top-view-area {
  position: relative;
  width: 100%;
  height: 10vh;
  background-color: #f3f3f3;
  border: 1px solid #ccc;
  margin-top: 5rpx;
}

.main-toolbar {
  display: flex;
  flex-direction: row; /* 强制横向排列 */
  justify-content: space-around;
  padding: 5px;
  border-bottom: 1px solid #ddd;
}

.main-category {
  display: flex;
  flex-direction: row; /* 强制横向排列 */
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  background: linear-gradient(145deg, #ffffff, #e6e6e6);
  margin: 5px;

}

.main-categories {
  display: flex;
  flex-direction: row; /* 强制横向排列 */
  height: 5vh;
  margin: auto;
}

.sub-toolbar {
  display: flex;
  flex-direction: row; /* 强制横向排列 */
  padding: 5px;
  background-color: #f5f5f5;
}
.sub-categories {
  display: flex;
  flex-direction: row; /* 强制横向排列 */
  height: 8vh;
  box-shadow: 0px 4px 8px rgba(199, 187, 187, 0.1);
  background: linear-gradient(145deg, #ddd8d8, #e6e6e6);
  
}

.sub-category-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  text-align: center;
  width: 12vw; /* 设置按钮宽度，确保横向排列 */
  height: 11vh;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  background: linear-gradient(145deg, #ffffff, #e6e6e6);
}

.icon {
  width: 30px;
  height: 30px;
  margin-bottom: 5px;
}

.main-category text {
  font-size: 14px;
  color: #222; /* Slightly darker color */
  font-weight: 550; /* Increase font weight */
  text-shadow: 0.5px 0.5px 0 rgba(0, 0, 0, 0.2); /* Subtle shadow for clarity */
  letter-spacing: 0.5px; /* Adds a bit of space between letters */
}

.main-category:active {
  box-shadow: inset 4px 4px 10px rgba(0, 0, 0, 0.15);
  background: linear-gradient(145deg, #e6e6e6, #ffffff);
}
.sub-category-button text {
  font-size: 13px;
  color: #222; /* Slightly darker color */
  font-weight: 550; /* Increase font weight */
  text-shadow: 0.5px 0.5px 0 rgba(0, 0, 0, 0.2); /* Subtle shadow for clarity */
  letter-spacing: 1px; /* Adds a bit of space between letters */
}

.sub-category-button:active {
  box-shadow: inset 4px 4px 10px rgba(5, 245, 37, 0.15);
  background: linear-gradient(145deg, #e6e6e6, #ffffff);
}